﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Inspinia_MVC5.Models
{
    public class Email
    {
        public int ID { get; set; }
        public int? AdminId { get; set; }
        [Required]
        [StringLength(100)]
        public string Address { get; set; }
        [Required]
        [StringLength(100)]
        public string ZhuTi { get; set; }
        [Required]
        [StringLength(1000)]
        public string Content { get; set; }
        public DateTime SendTime { get; set; }
        public virtual Admin Admin { get; set; }

    }
}